package com.huarui.returned.model;

import java.math.BigDecimal;

import org.ewaf.framework.model.BaseDataObject;

/**
 * 采购退货明细
 * @author ycf
 *
 */
public class ReturnedItem extends BaseDataObject {

	private static final long serialVersionUID = -1005816361258154491L;
	
	/**
	 * 主键
	 */
	private Integer id;
	/**
	 * 退货单ID
	 */
	private Integer returnedId;
	/**
	 * 零件ID
	 */
	private Integer partId;
	/**
	 * 来源零件库存ID(指定了从哪个库存上退货)
	 */
	private Integer sourceInventoryId;
	/**
	 * 编码(冗余字段)
	 */
	private String code;
	/**
	 * 来源(0=原厂，1=合作厂中国，2=合作厂进口，3=非合作厂中国，4=非合作厂进口)
	 */
	private Integer source;
	/**
	 * 零件名称((冗余字段)
	 */
	private String name;
	/**
	 * 英文名称(冗余字段)
	 */
	private String nameEn;
	/**
	 * 拼音码(冗余字段)
	 */
	private String pyCode;
	/**
	 * 计量单位(冗余字段)
	 */
	private String measurementUnit;
	/**
	 * 零件分类(冗余字段)
	 */
	private Integer partCategoryId;
	/**
	 * 一级分类名称(冗余字段)
	 */
	private String level1Name;
	/**
	 * 二级分类名称(冗余字段)
	 */
	private String level2Name;
	/**
	 * 一级分类ID(冗余字段)
	 */
	private Integer level1Id;
	/**
	 * 品牌
	 */
	private String brand;
	/**
	 * 产地
	 */
	private String origin;
	/**
	 * 进价
	 */
	private BigDecimal cost;
	/**
	 * 售价
	 */
	private BigDecimal retailPrice;
	/**
	 * 退货数量
	 */
	private Integer quantity;
	/**
	 * 进价金额
	 */
	private BigDecimal costAmount;
	/**
	 * 仓库
	 */
	private Integer storeId;
	/**
	 * 仓位
	 */
	private String shelf;
	
	private String carModel;
	
	private BigDecimal minPrice;
	@Override
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getReturnedId() {
		return returnedId;
	}
	public void setReturnedId(Integer returnedId) {
		this.returnedId = returnedId;
	}
	public Integer getPartId() {
		return partId;
	}
	public void setPartId(Integer partId) {
		this.partId = partId;
	}
	public Integer getSourceInventoryId() {
		return sourceInventoryId;
	}
	public void setSourceInventoryId(Integer sourceInventoryId) {
		this.sourceInventoryId = sourceInventoryId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getSource() {
		return source;
	}
	public void setSource(Integer source) {
		this.source = source;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNameEn() {
		return nameEn;
	}
	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}
	public String getPyCode() {
		return pyCode;
	}
	public void setPyCode(String pyCode) {
		this.pyCode = pyCode;
	}
	public String getMeasurementUnit() {
		return measurementUnit;
	}
	public void setMeasurementUnit(String measurementUnit) {
		this.measurementUnit = measurementUnit;
	}
	public Integer getPartCategoryId() {
		return partCategoryId;
	}
	public void setPartCategoryId(Integer partCategoryId) {
		this.partCategoryId = partCategoryId;
	}
	public String getLevel1Name() {
		return level1Name;
	}
	public void setLevel1Name(String level1Name) {
		this.level1Name = level1Name;
	}
	public String getLevel2Name() {
		return level2Name;
	}
	public void setLevel2Name(String level2Name) {
		this.level2Name = level2Name;
	}
	public Integer getLevel1Id() {
		return level1Id;
	}
	public void setLevel1Id(Integer level1Id) {
		this.level1Id = level1Id;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getOrigin() {
		return origin;
	}
	public void setOrigin(String origin) {
		this.origin = origin;
	}
	public BigDecimal getCost() {
		return cost;
	}
	public void setCost(BigDecimal cost) {
		this.cost = cost;
	}
	public BigDecimal getRetailPrice() {
		return retailPrice;
	}
	public void setRetailPrice(BigDecimal retailPrice) {
		this.retailPrice = retailPrice;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public BigDecimal getCostAmount() {
		return costAmount;
	}
	public void setCostAmount(BigDecimal costAmount) {
		this.costAmount = costAmount;
	}
	public Integer getStoreId() {
		return storeId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public String getShelf() {
		return shelf;
	}
	public void setShelf(String shelf) {
		this.shelf = shelf;
	}
	public String getCarModel() {
		return carModel;
	}
	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}
	public BigDecimal getMinPrice() {
		return minPrice;
	}
	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}
	
	
}
